#ifndef _MEM_H_
#define _MEM_H_

#include    "type.h" 
#include    "main.h"

extern void  mem_cpy(INT8U *_dst, const INT8U *_src, INT16U _len);
extern void  mem_set(INT8U *_s, INT8U _ch, INT16U _len);
extern INT8U mem_cmp(const INT8U *_s1, const INT8U *_s2, INT16U _len);
extern void  mem_move(INT8U *_dst, INT8U *_src, INT16U _len);
extern INT8U memcmp_data(const INT8U *_s1, INT8U _ch, INT16U _len);
extern void  mem_invert(INT8U _b[],  INT8U _n);
extern INT8U mem_check_sum(INT8U *_buff, INT16U _len);
extern INT8U mem_check_xor(INT8U *_buff, INT8U _len);
extern INT8U mem_dec2bcd(INT8U _dat);
extern INT8U mem_bcd2hex(INT8U _dat);

#endif

